package com.micromsg.basic.msg.service;

import org.springframework.web.multipart.MultipartFile;

public class FileService {

    private static final String FILE_STORAGE_PATH = "/path/to/file/storage";

    public String saveFile(MultipartFile file) {
        String filePath = FILE_STORAGE_PATH + "/" + file.getOriginalFilename();
        // 将文件保存到文件系统
        // ...
        return filePath;
    }
}
